package com.kvn.idpt_usage;

import com.kvn.idpt.EnableIdptTransactional;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wangzhiyuan on 2018/11/20
 */
@RestController
@SpringBootApplication
@EnableIdptTransactional
public class MainApplication {


    public static void main(String[] args) throws Exception {
        SpringApplication.run(MainApplication.class, args);
    }

    @RequestMapping("/")
    String home() {
        return "Hello World!";
    }

}
